package com.lwlk.zdk.mapper.wd;

import com.lwlk.zdk.model.wd.wdHfArea;
import com.lwlk.zdk.model.wd.wdHfAreaExample;
import org.apache.ibatis.annotations.Param;

import java.awt.geom.Area;
import java.util.List;
import java.util.Map;

public interface wdHfAreaMapper {
    int countByExample(wdHfAreaExample example);

    int deleteByExample(wdHfAreaExample example);

    int deleteByPrimaryKey(String id);

    int insert(wdHfArea record);

    int insertSelective(wdHfArea record);

    List<wdHfArea> selectByExample(wdHfAreaExample example);

    wdHfArea selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") wdHfArea record, @Param("example") wdHfAreaExample example);

    int updateByExample(@Param("record") wdHfArea record, @Param("example") wdHfAreaExample example);

    int updateByPrimaryKeySelective(wdHfArea record);

    int updateByPrimaryKey(wdHfArea record);

    List selectPid();

    List<Area> selectById(@Param("id") String id);


    String selectByAreraCode(@Param("areaCode") String areaCode);

    List<Map<String, Object>> selectByArea(@Param("areaCode") String areaCode);

    List<Map<String, Object>> selectByCode(@Param("areaCode") String areaCode);

    String selectByoId(@Param("oId") String oId);

    String selectAreaCodeName(@Param("admdivCode") String admdivCode);

    /*所属地区拼接字段*/
    String selectAreaCode(@Param("areaCode")String areaCode);

}